/*
 * FluxCapacitor.java
 * Team qq 2011
 */
package com.google.code.timetrail.backend;
/**
 * When this baby hits 88 mile an hour you're going to see some serious sh17
 * This is the item representation of the flux capacitor it doesn't weigh more, 
 * but it's fairly expensive
 * @author Steven
 * @version 1.0
 *
 */
public class FluxCapacitor extends Item {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3020L;

	/** The weight of one flux capacitor*/
	private static final int FC_WEIGHT = 88;

	/** The cost of one flux capacitor*/
	private static final int FC_VALUE = 10;

	/** The maximum amount of flux capacitors in an inventory*/
	private static final int FC_MAX = 5;
	
	/** The flux capacitor's name in string form*/
	private static final String FC_NAME = "Flux Capacitor";
	
	/**
	 * gets the weight of one flux capacitor
	 * @return flux capacitor weight
	 */
	@Override
	public int getWeight() {
		return FC_WEIGHT;
	}
	
	/**
	 * gets the value of one flux capacitor
	 * @return base price of one flux capacitor
	 */
	@Override
	public int getValue() {
		return FC_VALUE;
	}

	/**
	 * Gets the maximum amount of flux capacitors allowed in an
	 * inventory
	 * @return maximum flux capacitors
	 */
	@Override
	public int getMaxAmount() {
		return FC_MAX;
	}
	
    /**
     * getter for flux capacitor's name
     * @return the flux capacitor's name
     */
	@Override
	public String getItemName() {
		return FC_NAME;
	}
	
}
